package com.admin.bean;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 付费推广的APP,即首页的APP
 *
 * @author:HingLo
 * @create 2017-09-27 11:31
 **/
@Entity
@Table(name = "payapp")
public class PayApp {
    @Id
    private String id;
    private String typeid;//将来扩展的套餐类型id
    private String rid;//推广的软件id
    private Date starttime;//开始时间
    private Date endtime;//结束时间
    private int type;//软件类型
    private String contents;//介绍说明


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }
}
